package com.mzj.saas.mservice.wallet.repository;

import com.mzj.saas.mservice.wallet.entity.Wallet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface WalletRepository extends PagingAndSortingRepository<Wallet, Long>, JpaSpecificationExecutor<Wallet>,
		JpaRepository<Wallet, Long> {

	Wallet findByOrgIdAndStoreTypeAndType(Long orgId, Integer storeType, Integer type);
}
